package com.gz.feigen.order.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;

import java.util.HashMap;

@Service
@FeignClient(value = "CLOUD-PAYMENT-SERVICE")
public interface FeignService {
    @PostMapping("/pay/api/test")
    HashMap<String, String> getMessage();
}
